home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacHack 2000
/
MacHack 2000.toast
/
pc
/
The Hacks
/
Softshoe
/
Lisa's Mac Parts
/
TextEdit
/
TextEditCutter.h
< prev
next >
Wrap
Text File
|
2000-06-23
|
623b
|
31 lines
// TextEditCutter.h
#ifndef TextEditCutter_h
#define TextEditCutter_h
#ifndef Cutter_h
#include "Cutter.h"
#endif
#ifndef TextEditClipboard_h
#include "TextEditClipboard.h"
#endif
#include <TextEdit.h>
#include <Dialogs.h>
class TextEditCutter: public Cutter
{
public:
TextEditCutter()
: Cutter( TextEditClipboard::The() )
{}
void Cut( TEHandle te ) { TECut( te ); Approve(); }
void Copy( TEHandle te ) { TECopy( te ); Approve(); }
void Cut( DialogRecord& d ) { DialogCut( &d.window.port ); Approve(); }
void Copy( DialogRecord& d ) { DialogCopy( &d.window.port ); Approve(); }
};
#endif